package com.ocm.tourism.core.dao;

import java.util.List;

import com.ocm.tourism.core.domain.SaleOff;
import com.ocm.tourism.core.domain.ScheduleTour;

public interface ScheduleTourDao extends GenericDao<ScheduleTour> {

   List<ScheduleTour> findScheduleTours(long agencyId, int firstResult, int maxResults);

   long countScheduleTours(long agencyId);

   List<SaleOff> findSaleOffs(long tourId, int firstResult, int maxResults);

   SaleOff findSaleOff(long saleoffId);

   long countSaleOffs(long tourId);

   List<SaleOff> findSaleOffAdvertisements(long agencyId, int firstResult, int maxResults);
   
   long countSaleOffAdvertisements(long agencyId);
}
